package com.share.exception;

/**
 * author:caifan
 * date:2020/1/2
 */
public class ApiException extends SysException {
    private Boolean status = false;
    public ApiException(String message) {
        super(message);
        this.status = false;
    }

    public ApiException(String code, String message) {
        super(message, code);
        this.status = false;
    }

    public ApiException(String message, Object... args) {
        super(message, args);
        this.status = false;
    }

    public ApiException(ExceptionEnum exceptionEnum, Object... args) {
        super(exceptionEnum, args);
        this.status = false;
    }
}
